﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinaer.IDao
{
    public interface ICountryDAO:IBaseDAO<Model.Entities.Model_Country>
    {
        List<Model.Entities.Model_Country> GetAllCountry();
        /// <summary>
        /// 根据国家编码获取国家信息
        /// </summary>
        /// <param name="code"></param>
        /// <returns></returns>
        Model.Entities.Model_Country GetByCode(string code);
        /// <summary>
        /// 根据国家名称获取数据
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        Model.Entities.Model_Country GetByName(string name);

    }
}
